//
//  XJMyOrderBigModel.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/6/14.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XJMyOrderGoodsModel.h"
#import "XJMyOrderBtnModel.h"
//@class XJMyOrderGoodsModel;
//@class XJMyOrderBtnModel;

@interface XJMyOrderBigModel : NSObject
//========== 一 区头用到的字段================
/**2.店铺id ✅*/
@property (nonatomic, copy) NSString *shop_id;
/**3.交易状态*/
@property (nonatomic, copy) NSString *state_name;
/**5.店铺名字*/
@property (nonatomic, copy) NSString *shop_name;



//========== 二 区尾用到的字段================
/**1.购买数量*/
@property (nonatomic, copy) NSString *goods_count;

/**4.运费*/
@property (nonatomic, copy) NSString *express_amount;
/**6.共计多少钱*/
@property (nonatomic, copy) NSString *order_amount;
/**7.按钮 数组 装的是 XJMyOrderBtnModel */
@property (nonatomic, strong) NSMutableArray <XJMyOrderBtnModel *>*btns;
/**9.订单号 删除订单的请求参数 ✅*/
@property (nonatomic, copy) NSString *order_sn;


//========== 三 cell用到的字段================
/**8.cell用的数组 装的是 XJMyOrderGoodsModel */
@property (nonatomic, strong) NSMutableArray <XJMyOrderGoodsModel *> *goods;
@end

/**
 {
 "data" : {
 "content" : {
 "order" : [
 {
 "goods_count" : 1,
 "id" : 349,
 "order_amount" : 10,
 "state_name" : "交易关闭",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 349,
 "quantity" : 1,
 "id" : 362,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "goods_name" : "iOS测试商品1",
 "goods_id" : 140
 }
 ],
 "btns" : [
 {
 "code" : "delete",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "删除订单"
 }
 ],
 "shop_id" : 11,
 "order_sn" : "SN18061321203700000068",
 "order_state" : 90,
 "shop_name" : "小何店铺"
 },
 {
 "goods_count" : 1,
 "id" : 348,
 "order_amount" : 10,
 "state_name" : "交易关闭",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 348,
 "quantity" : 1,
 "id" : 361,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "goods_name" : "iOS测试商品1",
 "goods_id" : 140
 }
 ],
 "btns" : [
 {
 "code" : "delete",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "删除订单"
 }
 ],
 "shop_id" : 11,
 "order_sn" : "SN18061321174900000067",
 "order_state" : 90,
 "shop_name" : "小何店铺"
 },
 {
 "goods_count" : 1,
 "id" : 347,
 "order_amount" : 10,
 "state_name" : "交易关闭",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 347,
 "quantity" : 1,
 "id" : 360,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "goods_name" : "iOS测试商品1",
 "goods_id" : 140
 }
 ],
 "btns" : [
 {
 "code" : "delete",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "删除订单"
 }
 ],
 "shop_id" : 11,
 "order_sn" : "SN18061320563600000066",
 "order_state" : 90,
 "shop_name" : "小何店铺"
 },
 {
 "goods_count" : 1,
 "id" : 346,
 "order_amount" : 10,
 "state_name" : "交易关闭",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 346,
 "quantity" : 1,
 "id" : 359,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "goods_name" : "iOS测试商品1",
 "goods_id" : 140
 }
 ],
 "btns" : [
 {
 "code" : "delete",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "删除订单"
 }
 ],
 "shop_id" : 11,
 "order_sn" : "SN18061320541200000065",
 "order_state" : 90,
 "shop_name" : "小何店铺"
 },
 {
 "goods_count" : 1,
 "id" : 345,
 "order_amount" : 10,
 "state_name" : "待付款",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 345,
 "quantity" : 1,
 "id" : 358,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "goods_name" : "iOS测试商品1",
 "goods_id" : 140
 }
 ],
 "btns" : [
 {
 "code" : "pay",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "立即付款"
 },
 {
 "code" : "cancel",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "取消订单"
 }
 ],
 "shop_id" : 11,
 "order_sn" : "SN18061320534400000064",
 "order_state" : 1,
 "shop_name" : "小何店铺"
 },
 {
 "goods_count" : 1,
 "id" : 343,
 "order_amount" : 10,
 "state_name" : "待付款",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 343,
 "quantity" : 1,
 "id" : 356,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "goods_name" : "iOS测试商品1",
 "goods_id" : 140
 }
 ],
 "btns" : [
 {
 "code" : "pay",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "立即付款"
 },
 {
 "code" : "cancel",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "取消订单"
 }
 ],
 "shop_id" : 11,
 "order_sn" : "SN18061320421200000062",
 "order_state" : 1,
 "shop_name" : "小何店铺"
 },
 {
 "goods_count" : 1,
 "id" : 342,
 "order_amount" : 10,
 "state_name" : "待付款",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 342,
 "quantity" : 1,
 "id" : 355,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/z174wPamyLTlQRAhKjwRKDZyl4bruzgE.jpg",
 "goods_name" : "一品香",
 "goods_id" : 133
 }
 ],
 "btns" : [
 {
 "code" : "pay",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "立即付款"
 },
 {
 "code" : "cancel",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "取消订单"
 }
 ],
 "shop_id" : 5,
 "order_sn" : "SN18061320003300000061",
 "order_state" : 1,
 "shop_name" : "石原里美"
 },
 {
 "goods_count" : 1,
 "id" : 341,
 "order_amount" : 10,
 "state_name" : "待付款",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 341,
 "quantity" : 1,
 "id" : 354,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "goods_name" : "iOS测试商品1",
 "goods_id" : 140
 }
 ],
 "btns" : [
 {
 "code" : "pay",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "立即付款"
 },
 {
 "code" : "cancel",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "取消订单"
 }
 ],
 "shop_id" : 11,
 "order_sn" : "SN18061317524500000060",
 "order_state" : 1,
 "shop_name" : "小何店铺"
 },
 {
 "goods_count" : 1,
 "id" : 340,
 "order_amount" : 10,
 "state_name" : "待付款",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 340,
 "quantity" : 1,
 "id" : 353,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "goods_name" : "iOS测试商品1",
 "goods_id" : 140
 }
 ],
 "btns" : [
 {
 "code" : "pay",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "立即付款"
 },
 {
 "code" : "cancel",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "取消订单"
 }
 ],
 "shop_id" : 11,
 "order_sn" : "SN18061317523800000059",
 "order_state" : 1,
 "shop_name" : "小何店铺"
 },
 {
 "goods_count" : 1,
 "id" : 339,
 "order_amount" : 10,
 "state_name" : "待付款",
 "express_amount" : 0,
 "goods" : [
 {
 "amount" : 10,
 "order_id" : 339,
 "quantity" : 1,
 "id" : 352,
 "price" : 10,
 "cover" : "http:\/\/static.zertone1.com\/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "goods_name" : "iOS测试商品1",
 "goods_id" : 140
 }
 ],
 "btns" : [
 {
 "code" : "pay",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "立即付款"
 },
 {
 "code" : "cancel",
 "text_color" : "000000",
 "background_color" : "FFFFFF",
 "text" : "取消订单"
 }
 ],
 "shop_id" : 11,
 "order_sn" : "SN18061317515800000058",
 "order_state" : 1,
 "shop_name" : "小何店铺"
 }
 ]
 }
 },
 "code" : 0
 }

 */
